package com.design.working.dto;

/**
 * 搜索部门岗位申请记录的传入参数
 * @author gavin
 * @date 2022/6/24 10:07
 */
public class SearchDeptJobApplicationDTO {

    private String deptName;

    private Integer startYear;

    public SearchDeptJobApplicationDTO() {
    }

    public SearchDeptJobApplicationDTO(String deptName, Integer startYear) {
        this.deptName = deptName;
        this.startYear = startYear;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getStartYear() {
        return startYear;
    }

    public void setStartYear(Integer startYear) {
        this.startYear = startYear;
    }

    @Override
    public String toString() {
        return "SearchDeptJobApplicationDTO{" +
                "deptName='" + deptName + '\'' +
                ", startYear=" + startYear +
                '}';
    }
}
